package cn.xhjava.crm.settings.mapper;


import cn.xhjava.crm.settings.domain.DicType;
import cn.xhjava.crm.settings.domain.DicValue;

import java.util.List;
import java.util.Map;

public interface DicTypeMapper {

    List<DicType> selectForPage(Map<String, Object> map) throws Exception;

    int selectCountForPage(Map<String, Object> map) throws Exception;

    void deleteByPrimaryKey(String id) throws Exception;

    int insert(DicType dicType) throws Exception;

    DicType selectByPrimaryKey(String code) throws Exception;

    int update(DicType dicType) throws Exception;

    List<DicValue> selectAll() throws Exception;

}